package com.neusoft.cmsprojects.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * CProductsortb entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_productsortb", catalog = "cms")
public class CProductsortb implements java.io.Serializable {

	// Fields

	private Integer id;
	private String CName;
	private String CNamee;
	private String CDescription;
	private Integer CSortaid;
	private Integer CCreator;
	private Date CCreatetime;
	private Integer CModifier;
	private Date CModifytime;

	// Constructors

	/** default constructor */
	public CProductsortb() {
	}

	/** full constructor */
	public CProductsortb(String CName, String CNamee, String CDescription,
			Integer CSortaid, Integer CCreator, Date CCreatetime,
			Integer CModifier, Date CModifytime) {
		this.CName = CName;
		this.CNamee = CNamee;
		this.CDescription = CDescription;
		this.CSortaid = CSortaid;
		this.CCreator = CCreator;
		this.CCreatetime = CCreatetime;
		this.CModifier = CModifier;
		this.CModifytime = CModifytime;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "c_name", length = 64)
	public String getCName() {
		return this.CName;
	}

	public void setCName(String CName) {
		this.CName = CName;
	}

	@Column(name = "c_namee", length = 64)
	public String getCNamee() {
		return this.CNamee;
	}

	public void setCNamee(String CNamee) {
		this.CNamee = CNamee;
	}

	@Column(name = "c_description", length = 256)
	public String getCDescription() {
		return this.CDescription;
	}

	public void setCDescription(String CDescription) {
		this.CDescription = CDescription;
	}

	@Column(name = "c_sortaid")
	public Integer getCSortaid() {
		return this.CSortaid;
	}

	public void setCSortaid(Integer CSortaid) {
		this.CSortaid = CSortaid;
	}

	@Column(name = "c_creator")
	public Integer getCCreator() {
		return this.CCreator;
	}

	public void setCCreator(Integer CCreator) {
		this.CCreator = CCreator;
	}

	@Column(name = "c_createtime", length = 0)
	public Date getCCreatetime() {
		return this.CCreatetime;
	}

	public void setCCreatetime(Date CCreatetime) {
		this.CCreatetime = CCreatetime;
	}

	@Column(name = "c_modifier")
	public Integer getCModifier() {
		return this.CModifier;
	}

	public void setCModifier(Integer CModifier) {
		this.CModifier = CModifier;
	}

	@Column(name = "c_modifytime", length = 0)
	public Date getCModifytime() {
		return this.CModifytime;
	}

	public void setCModifytime(Date CModifytime) {
		this.CModifytime = CModifytime;
	}

}